<?php
require_once './db_connect.inc.php';

require_once './login.class.php';
$login_args = array('db_table' => 'tbl_users', 
                      'username_field' => 'email', 
                      'password_field' => 'password',
                      'forceCookies' => true, 
                      'forceCookies_page' => 'no_cookies.php', 
                      'loginTimestamp_field' => 'last_login_timestamp', 
                      'session_path' => NULL, 
                      'session_timeout' => 0, 
                      'timeout_page' => NULL, 
                      'hash' => 'sha1', 
                      'pepper' => '');

$class_login = new login($login_args);
$test = $class_login->login($db, $username, $password);

echo session_id().'<br />';
var_dump($_SESSION);
?>